package cn.itcast.nems.studentrecord.dto.contract;

import cn.itcast.nems.studentrecord.constant.ContractStateEnum;
import cn.itcast.nems.studentrecord.constant.ContractTypeEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 学籍对应合同详细
 * </p>
 *
 * @author zhouwei
 * @since 2024/3/11 3:34 PM
 **/
@Data
@NoArgsConstructor
public class StudentContractInfoDTO implements Serializable {
    /**
     * 合同编号
     */
    private String contractNumber;
    /**
     * 签订时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime signDate;
    /**
     * 合同状态 合同状态，NEEDLESS_SIGN|无需签订、UNSIGNED|未签订、SIGNED|已签订、RESIGNING|待重签、RESIGNED|已重签、CANCELED|已作废
     */
    private ContractStateEnum contractState;
    private BigDecimal contractDesFee;
    private BigDecimal contractFeeDesPayable;
    private ContractTypeEnum contractType;


}
